#@head() #@header()
<title>工单处理</title>
#@aside()
<div class="content-wrapper">
	<section class="content">
		<div class="row">
			<div class="col-xs-12">
				<div class="box">
					<div class="box-header">
						<h3 class="box-title" style="margin-left: 10px;">工单处理</h3>
						<div class="box-body">
							<table id="example1" class="table table-striped">
								<thead>
									<tr>
										<th>ID</th>
										<th>客户姓名</th>
										<th>客户号码</th>
										<th>工单状态</th>
										<th>日期</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody>
									#for(Lis:list)
									<tr>
										<td>#(Lis.id)</td>
										<td>#(Lis.getClient().realname)</td>
										<td>#(Lis.phone)</td>
										<td>
											#if(Lis.step==1)
											<label class="label label-warning">跟踪中</label>
											#elseif(Lis.step==2)
											<label class="label label-success">审批中</label>
											#elseif(Lis.step==3)
											<label class="label label-success">归档</label>
											#else
											<label class="label label-primary">未知</label>
											#end
										</td>
										<td>#(date.stampToDate(Lis.createtime??"1"))</td> 
										<td><a href="#(path)/ticket/process?id=#(Lis.id)"
											class="btn btn-success">处理</a> 
										</td>
									</tr>
									#end
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
</div>
#@footer()

</body>
</html>

